box: Avoid position in the reorder api
authorMatthias Clasen <mclasen@redhat.com>
Tue, 22 Jan 2019 23:44:34 +0000 (18:44 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 24 Jan 2019 00:30:47 +0000 (19:30 -0500)
commitf3f5a896de2ce9bb7661ae70ce7cd69d19299994
treee39b26f47952d02203627caf8042ba8a87df177b
parent883d5d858405706d9a747acf9cc5f8c9f335ad4f
box: Avoid position in the reorder api

Change the reorder api to insert after a sibling,
so that moving to first place becomes reorder (... NULL).

And add a insert_after api that can replace the common
container_add / reorder_after (... NULL) combination.

Update all callers.
17 files changed:
docs/reference/gtk/gtk4-sections.txt
gtk/gtkactionbar.c
gtk/gtkassistant.c
gtk/gtkbbox.c
gtk/gtkbox.c
gtk/gtkbox.h
gtk/gtkcolorchooserwidget.c
gtk/gtkcombobox.c
gtk/gtkfilechooserwidget.c
gtk/gtkheaderbar.c
gtk/gtkmenusectionbox.c
gtk/gtkmodelmenuitem.c
gtk/gtknotebook.c
gtk/gtkscalebutton.c
gtk/gtkspinbutton.c
gtk/gtkstackswitcher.c
gtk/gtktreeviewcolumn.c